// store.js
import { reactive } from 'vue'
import axios from 'axios'

export const store = reactive({
    active: "diary",
    note: false,
    diary: false,
    info: false,
    share: false,
    queryFlag: false,
    userPhone: null,
    password: null,
    user: null,
    lover: null,
    loverInfo: null,
    setUser(data){
        this.user = data
    },
    init(phone,password){
        this.userPhone=phone
        this.password=password
    }
})


